package cn.wolfcode.p2p.business.service;

import cn.wolfcode.p2p.business.domain.PaymentSchedule;
import cn.wolfcode.p2p.business.domain.PaymentScheduleDetail;

import java.util.Date;

public interface IPaymentScheduleDetailService {
    int save(PaymentScheduleDetail paymentScheduleDetail);
    int update(PaymentScheduleDetail paymentScheduleDetail);

    /**
     * 更新还款明细的状态
     * @param id
     * @param payDate
     */
    void updatePayState(Long psId, Date payDate);
}
